package com.ml.loan.common.redis.keys;

import com.ml.loan.common.redis.BasePrefix;

/**
 * @Author Mickey
 * @Date 2021/3/25 19:58
 **/
public class SmsCodeKey extends BasePrefix {

    public SmsCodeKey(long expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }

    /**
     * 登录短信验证码，缓存5分钟
     *
     * @Author Mickey
     * @Date 2021/3/25 19:59
     **/
    public static SmsCodeKey login = new SmsCodeKey(60 * 5, "login");

    /**
     * @Description 获客短信验证码, 缓存五分钟
     * @Author lrl
     * @Date 2021/12/20 15:06
     */
    public static SmsCodeKey channelRegistCode = new SmsCodeKey(60 * 5, "channelRegistCode");
}
